import fetch from '../fetch';
/**
 * 活动列表
 */
const list = (index = 1, size = 5) => fetch.get('api/v1/user/meeting/list/' + index, {
  params: {
    pageSize: size
  }
});
/**
 * 活动详情
 * @param {*} id
 */
const item = id => fetch.get('/api/v1/user/meeting/item', {
  id: id
});

export default {
  list,
  item
};
